﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PdfLucene.src
{
    public class PdfSearchResult:PDFFile
    {
        private string fileName;
        private float score;
        private string path;
        private string modifiedTime;

        public PdfSearchResult(string fileName, string modifiedTime, string path, float score)
        {
            this.fileName = fileName;
            this.modifiedTime = modifiedTime;
            this.path = path;
            this.score = score;

        }

        public PdfSearchResult()
        {
        }
        /*
        public string FileName
        {
            get
            {
                return fileName;
            }
            set
            {
                fileName = value;
            }
        }

        public string ModifiedTime
        {
            get
            {
                return modifiedTime;
            }
            set
            {
                modifiedTime = value;
            }
        }

        public string Path
        {
            get
            {
                return path;
            }
            set
            {
                path = value;
            }
        }*/

        public float Score
        {
            get
            {
                return score;
            }
            set
            {
                score = value;
            }
        }
    }
}
